<include file='Common:header'/>

<style>
    .content-body { padding-left: 20px; }
    .content-body label { font-weight:normal; }
</style>

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            快捷菜单管理
            <small></small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="{:U('Index/index')}"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li class="active">快捷菜单管理</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">

        <!-- START CUSTOM TABS -->
        <div class="row">
            <div class="col-xs-12">
                <!-- Custom Tabs -->

                <div style="width:100%;">
                    <form role="form" method="post">
                        <div class="box">
                            <div class="box-header with-border">
                                <h3 class="box-title">设置常用菜单</h3>
                            </div><!-- /.box-header -->
                            <div class="box-body no-padding">

                                <div class="col-xs-12">
                                    <!-- general form elements -->
                                    <div class="box box-primary">

                                        <table class="table table-condensed">

                                            <volist name="data" id="n">
                                                <volist name="n[_data]" id="d">
                                                    <tr>
                                                        <th class="took-w120">
                                                            <div class="text-right">
                                                                {$d.title}
                                                            </div>
                                                        </th>
                                                        <td class="took-h30">
                                                            <div class="content-body">
                                                                <volist name="d[_data]" id="m">
                                                                    <label class="took-w120">
                                                                        <input type="checkbox" name="nid[]" value="{$m.nid}"
                                                                        <if condition="!empty($m['uid'])">checked="checked"</if>
                                                                        />
                                                                        {$m.title}
                                                                    </label>
                                                                </volist>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                </volist>
                                            </volist>

                                            </tbody></table>

                                    </div><!-- /.box -->

                                </div>

                                <div class="box-footer" style="padding-left:30px">
                                    <button type="submit" class="btn btn-primary">设置</button>
                                </div>

                            </div><!-- /.box-body -->
                        </div><!-- /.box -->

                    </form>

                </div>

            </div><!-- /.col -->

        </div> <!-- /.row -->
        <!-- END CUSTOM TABS -->

    </section><!-- /.content -->
</div><!-- /.content-wrapper -->


<include file='Common:footer'/>